package my.test;

public class Test extends Parent {
    public static String TAG="I'm test";

    public int minus(int a, int b) {
        return a-b;
    }
    
    public static void main(String[] args) {
        int a = 100;
        int b = 50;
        int c = 200;
        int d = 199;
        int e = 1;
        
        Test t = new Test();
        
        System.out.println(t.add(a,b));
        
        if (t.minus(c,d) == e) {
            System.out.println("ok");
        }
        else {
            System.out.println("wrong!");
        }
    }
    
}

class Parent {
    public int add(int a, int b) {
        return a+b;
    }
}